import fetch from '@/utils/fetch'

export function getCollect() {
  return fetch({
    url: '/getCollect',
    method: 'post'
  })
}
export function getNew() {
  return fetch({
    url: '/monitor/getAllNowData',
    method: 'post'
  })
}
export function searchAlert(p) {
  return fetch({
    url: '',
    method: 'post',
    params: p
  })
}
